import getEnumsManager from '@/common/enum';

export const ClaimStateEnum = getEnumsManager([
  { value: '0', text: '待认领', name: 'TobeClaimed' },
  { value: '1', text: '已完成', name: 'Completed' },
  { value: '2', text: '已作废', name: 'Voided' }
]);

export const WillStateEnum = getEnumsManager([
  { value: '0', text: '不可用', name: 'Unavailable' },
  { value: '1', text: '可用', name: 'Available' },
  { value: '9', text: '已删除', name: 'Removed' }
]);

export const RecommendTypeEnum = getEnumsManager([
  { value: '0', text: '推荐至心愿大厅首页', name: 'Hall' },
  { value: '1', text: '定向推送', name: 'Direct' }
]);

export const ClaimModeEnum = getEnumsManager([
  { value: '0', text: '单人', name: 'Single' },
  { value: '1', text: '多人', name: 'Multiple' },
  { value: '2', text: '组织', name: 'Org' }
]);